package com.skb.task.service;

import com.skb.task.pojo.Project;
import com.skb.task.util.pojo.QdResult;

import java.util.List;

public interface ProjectService {
    /**
     * 分页根据条件查询项目信息
     * @param project
     * @param start
     * @param limit
     * @return
     */
    QdResult queryByProjectPage(Project project, int start, int limit);

    QdResult queryByProjectPageById(Project project, int start, int limit,Long userId);

    QdResult save(Project project);

    Project findProjectById(String projectId);

    QdResult updateProject(Project project);

    QdResult deleteById(String projectId);

    QdResult fileById(String projectId);

    QdResult publishProject(String [] projectIds);

    QdResult archivingProject(String[] projectIds);

    QdResult deletionProject(String[] projectIds);

    QdResult queryByProjectPageByPigeonhole(Project project, int start, int limit, Long userId);

    QdResult recoveryById(String projectId);

    QdResult fileDeletionProject(String[] projectIds);

    QdResult filePublishProject(String[] projectIds);

    QdResult queryByProjectPageByDelete(Project project, int start, int limit, Long userId);

    QdResult deleteRecoveryProject(String[] projectIds);

    QdResult queryById(String projectId);

    QdResult queryAllProject(String projectId);

    QdResult queryMyProject(Long userId);
}
